package com.un.ebs.purchase.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/7/5 18:14
 */
@Getter
public enum PurchaseOrderTypeEnum implements IEnum {

    Product_Requirement(0, "生产需求采购"),

    Alone_Requirement(1, "独立需求采购"),

    Temp_Requirement(2,"耗材需求采购");

    @EnumValue
    private final int code;

    private final String desc;

    PurchaseOrderTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
